UPDATE InProdDetail SET InputPrice=0 WHERE InputPrice IS NULL

ALTER TABLE InProdDetail ALTER COLUMN InputPrice INT NOT NULL
ALTER TABLE InProdDetail ALTER COLUMN ProductId INT NOT NULL